VObject::DoFunctionKeyCommand

Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index Return to Main Contents
 

NAME

VObject::DoFunctionKeyCommand - instance method  

TEMPLATE

commandToPerform = Command * DoFunctionKeyCommand(int functionKey, Point locatorPoint, Token inputToken)  

SPECIFIERS

public virtual  

DESCRIPTION

DoFunctionKeyCommand is called by the method DispatchEvents on function key events.
This method maps some function keys to menu commands and calls the method DoMenuCommand. The following mapping has been chosen based on the location of the Lx function keys of Sun keyboards:
        F3      F4
        cUNDO   cTOP

        F5      F6
        cCOPY   cOPEN

        F7      F8
        cPASTE  cFIND

        F9
        cCUT

Remaining function key events are passed to the next event handler. If there is no next handler gNoChanges is returned. Method is rarely overridden.  

ARGUMENTS

int functionKey

contains the number of the pressed function key (F1 = 1, F2 = 2, ...).
See also
method Token::FunctionCode.
Point locatorPoint

see
method DispatchEvents
Token inputToken

see
method DispatchEvents
 

RETURN ARGUMENT

Command * commandToPerform

see
method DispatchEvents
 

CATEGORIES

event handling, overrider interface

 

FIRST DEFINITION

class VObject  

FILES

implementation:
VObject.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:22 GMT, March 30, 2022